﻿using System;
namespace LINQPad.OpenAccess.Services
{
    /// <summary>
    /// CustomMemberProvider factory for the data context.
    /// </summary>
    public interface IDataContextCustomMemberProviderFactory
    {
        /// <summary>
        /// Gets the custom display member provider for the specified object.
        /// </summary>
        /// <param name="obj">The obj.</param>
        /// <returns>
        /// The custom display member provider or <c>null</c>.
        /// </returns>
        ICustomMemberProvider GetCustomDisplayMemberProvider( object obj );
    }
}
